<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core" 
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

    <div id="sidebar">
        <ul>
            <li>
                <div id="search" >
                    <h:form>
                        <p>#{msgs.search}</p><br/>                        
                        <h:outputLabel id="name" for="bnome" value="#{msgs.name}: "/>
                        <h:inputText id="bnome" value="#{nome}" style="width:140px"/>                        
                        <h:selectOneMenu value="#{plat}">
                            <f:selectItem itemValue="Xbox" itemLabel="Xbox" />
                            <f:selectItem itemValue="Wii" itemLabel="Wii" />
                            <f:selectItem itemValue="PC" itemLabel="PC" />
                            <f:selectItem itemValue="Play" itemLabel="Play" />
                        </h:selectOneMenu>                   

                        <h:commandButton value="#{msgs.search}" action="busca.xhtml" style="margin: 15px 10px;float:right"/>
                    </h:form>
                </div>
                <div style="clear: both;">&nbsp;</div>
            </li>
        </ul>                
        <div style="clear: both;">&nbsp;</div>            
        <ul id="nav">
            <li><h2>#{msgs.releases}</h2>
                <ul style="display:none">
                    <li><a href="lancamentosPC.xhtml">#{msgs.pcgames}</a></li>
                    <li><a href="lancamentoPlay.xhtml">#{msgs.psgames}</a></li>
                    <li><a href="lancamentoXbox.xhtml">#{msgs.xbgames}</a></li>
                    <li><a href="lancamentoWii.xhtml">#{msgs.wigames}</a></li>                    
                </ul>
            </li>
            <li><h2>
                    <h:outputLink value="buscaJogo.xhtml">  
                        <h:outputText value="#{msgs.pcgames}"/>  
                        <f:param value="all" name="tipo"/>      
                        <f:param value="PC" name="plat"/>      
                    </h:outputLink>  
                </h2> 
                <ul style="display:none">
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.racing}"/>  
                            <f:param value="corrida" name="tipo"/>
                            <f:param value="PC" name="plat"/>
                        </h:outputLink></li>                
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.fps}"/>  
                            <f:param value="fps" name="tipo"/>  
                            <f:param value="PC" name="plat"/>
                        </h:outputLink></li>                                                                                        
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.tps}"/>  
                            <f:param value="tps" name="tipo"/>  
                            <f:param value="PC" name="plat"/>
                        </h:outputLink></li>                                     
                </ul>
            </li>
            <li><h2>
                    <h:outputLink value="buscaJogo.xhtml">  
                        <h:outputText value="#{msgs.psgames}"/>  
                        <f:param value="all" name="tipo"/>      
                        <f:param value="Play" name="plat"/>      
                    </h:outputLink>  
                </h2> 
                <ul style="display:none">
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.racing}"/>  
                            <f:param value="corrida" name="tipo"/>
                            <f:param value="Play" name="plat"/>
                        </h:outputLink></li>                
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.fps}"/>  
                            <f:param value="fps" name="tipo"/>  
                            <f:param value="Play" name="plat"/>
                        </h:outputLink></li>                                                                                        
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.tps}"/>  
                            <f:param value="tps" name="tipo"/>  
                            <f:param value="Play" name="plat"/>
                        </h:outputLink></li>                                     
                </ul>
            </li>
            <li><h2>
                    <h:outputLink value="buscaJogo.xhtml">  
                        <h:outputText value="#{msgs.xbgames}"/>  
                        <f:param value="all" name="tipo"/>      
                        <f:param value="Xbox" name="plat"/>      
                    </h:outputLink>  
                </h2> 
                <ul style="display:none">
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.racing}"/>  
                            <f:param value="corrida" name="tipo"/>
                            <f:param value="Xbox" name="plat"/>
                        </h:outputLink></li>                
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.fps}"/>  
                            <f:param value="fps" name="tipo"/>  
                            <f:param value="Xbox" name="plat"/>
                        </h:outputLink></li>                                                                                        
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.tps}"/>  
                            <f:param value="tps" name="tipo"/>  
                            <f:param value="Xbox" name="plat"/>
                        </h:outputLink></li>                                     
                </ul>
            </li>
            <li><h2>
                    <h:outputLink value="buscaJogo.xhtml">  
                        <h:outputText value="#{msgs.wigames}"/>  
                        <f:param value="all" name="tipo"/>      
                        <f:param value="Wii" name="plat"/>      
                    </h:outputLink>  
                </h2> 
                <ul style="display:none">
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.racing}"/>  
                            <f:param value="corrida" name="tipo"/>
                            <f:param value="Wii" name="plat"/>
                        </h:outputLink></li>                
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.fps}"/>  
                            <f:param value="fps" name="tipo"/>  
                            <f:param value="Wii" name="plat"/>
                        </h:outputLink></li>                                                                                        
                    <li><h:outputLink value="buscaJogo.xhtml">  
                            <h:outputText value="#{msgs.tps}"/>  
                            <f:param value="tps" name="tipo"/>  
                            <f:param value="Wii" name="plat"/>
                        </h:outputLink></li>                                     
                </ul>
            </li>            
        </ul>
    </div>
    <div style="clear: both;">&nbsp;</div>  
</html>